-- GENERATED SPELL FOR [Ironus Coldsteel] --


function spell0_11146(pUnit, Event) --@Forget,n/a--
pUnit:FullCastSpellOnTarget(36436,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11146', 632, 1)
end

function Sorts_11146(pUnit, Event)
local choix_sorts_11146 = math.random(0, 0)
if choix_sorts_11146 == 0 then
pUnit:RegisterEvent('spell0_11146', 1, 1)
end
end

function mob11146_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11146', math.random(1500, 3000), 1)
end

function mob11146_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11146_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11146_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11146, 1, 'mob11146_Action')
RegisterUnitEvent(11146, 2, 'mob11146_Leave')
RegisterUnitEvent(11146, 3, 'mob11146_Kill')
RegisterUnitEvent(11146, 4, 'mob11146_Die')
